remove whitespace from both sides of a string with python

welcome to shbcf.ru